package com.itheima.grammar.random;

/**
 * @author Anomaly
 * @date 2022/11/29 18:50
 */

import java.util.Random;

/**
 * 随机数Random
 */
public class RandomDemo {
    public static void main(String[] args) {
        Random random = new Random();
        for (;;) {
            System.out.println("random.nextInt(100) = " + random.nextInt(100));
        }
    }
}
